﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChallengePuzzle.Lib
{
    public class PlusSumFactory
    {
        static public IPlusSum Create(string PlusName)
        {
            switch (PlusName)
            {
                case "0":
                    return new PlusSum();
                case "1":
                    return new PlusSum1();
                case "2":
                    return new PlusSum2();
                case "3":
                    return new PlusSum2();
                default:
                    return null;
            }
        }
    }
}
